package net.csdn.business.common.domain.request.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 新增用户mfa配置信息对象DTO user_mfa_config
 * 
 * @author ruoyi
 * @date 2023-10-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NewUserMfaConfigDTO implements Serializable
{

    private static final long serialVersionUID = 1L;

    /** 用户id */
    private String uid;

    /** 用户token的md5串 */
    private String tokenMd5;

    /** 用户名称 */
    private String username;

    /** mfa是否开启: 0-关闭 1-打开 */
    private Boolean isEnable=true;

    /** mfa二次验证类型: 1-authenticatiorApp 2-sms */
    private Integer mfaType=1;

    /** mfa密钥 */
    private String secret;
}
